{"version":3,"file":"entity-catalog.bundle.map.js","names":["this","BX","exports","ui_vue3","ui_vue3_components_hint","ui_feedback_form","ui_icons","ui_advice","item","button","ui_vue3_pinia","group","main_popup","main_core_events","main_core","group$1","feedback","beforeMount","element","bindings","Event","bind","event","preventDefault","UI","Feedback","Form","open","value","Group","emits","name","props","groupData","type","GroupData","required","computed","hasIcon","Type","isStringFilled","icon","methods","handleClick","deselectable","$emit","selected","template","GroupList","components","groups","Array","handleGroupSelected","group$$1","handleGroupUnselected","MainGroups","recentGroupData","showRecentGroup","Boolean","default","searching","data","_this$recentGroupData","_this$groups$find","recentGroup","getRecentGroup","Object","assign","selectedGroup","find","_recentGroup$find","shownGroups","watch","newGroup","newGroupId","id","map","groupList","beforeUpdate","Loc","getMessage","handleRecentGroupSelected","ItemListAdvice","getAvatar","adviceAvatar","renderAdvice","Dom","clean","$refs","container","advice","Advice","content","adviceTitle","avatarImg","anglePosition","AnglePosition","BOTTOM","renderTo","mounted","updated","Button","buttonData","ButtonData","eventData","buttonText","text","handleButtonClick","pointerEvent","BaseEvent","originalEvent","isFunction","action","call","Item","itemData","ItemData","isPlainObject","ItemList","items","EmptyContent","useGlobalState","defineStore","state","searchApplied","filtersApplied","currentGroup","shouldShowWelcomeStub","MainContent","itemsToShow","mapState","showAdvice","hasItems","length","showWelcomeStub","showNoSelectedGroupStub","showFiltersStub","hasFilterStubTitle","$slots","showSearchStub","showEmptyGroupStub","showSeparator","scrollTop","_","t","_t","_t2","TitleBarFilter","filters","multiple","appliedFilters","getAppliedFilters","allFilters","showMenu","MenuManager","create","bindElement","$el","minWidth","autoHide","contentColor","draggable","cacheable","getItems","show","key","html","Tag","render","Text","encode","applied","append","push","onclick","item$$1","clearAllAction","getMenuWindow","close","delimiter","getClearAllFilter","filter","keys","Search","opened","debounceSearchHandler","queryString","showClearSearch","newString","created","debounce","onSearch","target","openSearch","$nextTick","focus","toString","clearSearch","Application","showEmptyGroups","filterOptions","filterItems","_selectedGroup$id","_selectedGroup","isNil","_this$recentGroupData2","selectedGroupId","shownItems","getDisplayedGroup","lastSearchString","itemsBySelectedGroupId","_this$selectedGroup","groupIds","some","compare","sort","mapWritableState","globalGroup","applyFilters","Runtime","clone","groupIdsWithItems","Set","forEach","groupId","add","has","_this$$refs$search","search","getData","toLowerCase","_item$tags","String","title","includes","description","tags","tag","onApplyFilterClick","values","filterId","getFilterNode","$root","$app","getPopup","getTitleContainer","querySelector","getSearchNode","stopPropagation","_$1","_t$1","_t2$1","Stubs","States","_popup","babelHelpers","classPrivateFieldLooseKey","_popupOptions","_popupTitle","_customTitleBar","_groups","_items","_recentGroupData","_showEmptyGroups","_showRecentGroup","_showSearch","_filterOptions","_application","_slots","_customComponents","_attachTemplate","_getDefaultPopupOptions","_getPopupTitleBar","_handleClose","EntityCatalog","EventEmitter","constructor","_props$slots","_props$customComponen","super","defineProperty","_handleClose2","_getPopupTitleBar2","_getDefaultPopupOptions2","_attachTemplate2","writable","setEventNamespace","setGroups","isArray","setItems","classPrivateFieldLooseBase","isBoolean","canDeselectGroups","showSearch","isString","customTitleBar","isObject","popupOptions","slots","customComponents","subscribeFromOptions","events","isShown","Popup","setResizeMode","unmount","_babelHelpers$classPr","_babelHelpers$classPr2","_babelHelpers$classPr3","_babelHelpers$classPr4","_babelHelpers$classPr5","_babelHelpers$classPr6","_babelHelpers$classPr7","_babelHelpers$classPr8","_babelHelpers$classPr9","_babelHelpers$classPr10","context","rootProps","showRecentGroups","BitrixVue","createApp","Hint","directives","SLOT_GROUP_LIST_HEADER","SLOT_GROUP","SLOT_GROUP_LIST_FOOTER","SLOT_MAIN_CONTENT_HEADER","SLOT_MAIN_CONTENT_FILTERS_STUB","SLOT_MAIN_CONTENT_FILTERS_STUB_TITLE","SLOT_MAIN_CONTENT_SEARCH_NOT_FOUND","SLOT_MAIN_CONTENT_WELCOME_STUB","SLOT_MAIN_CONTENT_NO_SELECTED_GROUP_STUB","SLOT_MAIN_CONTENT_EMPTY_GROUP_STUB","SLOT_MAIN_CONTENT_EMPTY_GROUP_STUB_TITLE","SLOT_MAIN_CONTENT_ITEM","use","createPinia","mount","getContentContainer","className","titleBar","noAllPaddings","closeByEsc","contentBackground","DEFAULT_POPUP_COLOR","width","DEFAULT_POPUP_WIDTH","height","DEFAULT_POPUP_HEIGHT","minHeight","Vue3","Components","Ui","Pinia","Main"],"sources":["entity-catalog.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,GACrB,SAAUC,EAAQC,EAAQC,EAAwBC,EAAiBC,EAASC,EAAUC,EAAKC,EAAOC,EAAcC,EAAMC,EAAWC,EAAiBC,EAAUC,GAC5J,aAEA,MAAMC,EAAW,CACfC,YAAYC,EAASC,GACnBL,EAAUM,MAAMC,KAAKH,EAAS,SAASI,IACrCA,EAAMC,iBACNtB,GAAGuB,GAAGC,SAASC,KAAKC,KAAKR,EAASS,MAAM,GAE5C,GAGF,MAAMC,EAAQ,CACZC,MAAO,CAAC,WAAY,cACpBC,KAAM,0BACNC,MAAO,CACLC,UAAW,CACTC,KAAMvB,EAAMwB,UACZC,SAAU,OAGdC,SAAU,CACRC,UACE,OAAOxB,EAAUyB,KAAKC,eAAexC,KAAKiC,UAAUQ,KACtD,GAEFC,QAAS,CACPC,cACE,GAAI3C,KAAKiC,UAAUW,aAAc,CAC/B5C,KAAK6C,OAAO7C,KAAKiC,UAAUa,SAAW,WAAa,aAAc9C,KAAKiC,UACxE,MAAO,IAAKjC,KAAKiC,UAAUa,SAAU,CACnC9C,KAAK6C,MAAM,WAAY7C,KAAKiC,UAC9B,CACF,GAEFc,SAAU,0gBAiBZ,MAAMC,EAAY,CAChBlB,MAAO,CAAC,gBAAiB,mBACzBC,KAAM,gCACNkB,WAAY,CACVpB,SAEFG,MAAO,CACLkB,OAAQ,CACNhB,KAAMiB,MACNf,SAAU,OAGdM,QAAS,CACPU,oBAAoBC,GAClBrD,KAAK6C,MAAM,gBAAiBQ,EAC9B,EACAC,sBAAsBD,GACpBrD,KAAK6C,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